package com.committitur.smartbikelight;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class SplashActivity extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_splash);
		Handler h = new Handler();
		h.postDelayed(new splashhandler(), 2000);
	}

	class splashhandler implements Runnable {
		public void run() {
			startActivity(new Intent(getApplication(), PreMainActivity.class));
			SplashActivity.this.finish();
		}
	}

}